package com.pkdl.dto;

import java.util.Date;

// Data transfer object which is associated with NguoiDung table in database
public class NguoiDungDTO {

	private String maNguoiDung;
	private String loaiNguoiDung;
	private String hoTen;
	private boolean gioiTinh;
	private Date ngaySinh;
	private String noiSinh;
	private Date ngayVaoLam;
	private String noiOHienTai;
	private String dTDD;
	private String dTNha;
	private String email;
	private String chuyenMon;
	private String matKhau;
	private long luong;

	public NguoiDungDTO() {
		this.maNguoiDung = "";
		this.loaiNguoiDung = "";
		this.hoTen = "";
		this.gioiTinh = false;
		this.ngaySinh = new Date();
		this.noiSinh = "";
		this.ngayVaoLam = new Date();
		this.noiOHienTai = "";
		this.dTDD = "";
		this.dTNha = "";
		this.email = "";
		this.chuyenMon = "";
		this.matKhau = "";
		this.luong = 0;
	}

	public NguoiDungDTO(String manguoidung, String loainguoidung, String hoten,
			boolean gioitinh, Date ngaysinh, String noisinh, Date ngayvaolam,
			String noiohientai, String dtdd, String dtnha, String email,
			String chuyenmon, String matkhau, long luong) {
		this.maNguoiDung = manguoidung;
		this.loaiNguoiDung = loainguoidung;
		this.hoTen = hoten;
		this.gioiTinh = gioitinh;
		this.ngaySinh = ngaysinh;
		this.noiSinh = noisinh;
		this.ngayVaoLam = ngayvaolam;
		this.noiOHienTai = noiohientai;
		this.dTDD = dtdd;
		this.dTNha = dtnha;
		this.email = email;
		this.chuyenMon = chuyenmon;
		this.matKhau = matkhau;
		this.luong = luong;
	}

	public String getChuyenMon() {
		return this.chuyenMon;
	}

	public String getDTDD() {
		return this.dTDD;
	}

	public String getDTNha() {
		return this.dTNha;
	}

	public String getEmail() {
		return this.email;
	}

	public boolean getGioiTinh() {
		return this.gioiTinh;
	}

	public String getHoTen() {
		return this.hoTen;
	}

	public String getLoaiNguoiDung() {
		return this.loaiNguoiDung;
	}

	public long getLuong() {
		return this.luong;
	}

	public String getMaNguoiDung() {
		return this.maNguoiDung;
	}

	public String getMatKhau() {
		return this.matKhau;
	}

	public Date getNgaySinh() {
		return this.ngaySinh;
	}

	public Date getNgayVaoLam() {
		return this.ngayVaoLam;
	}

	public String getNoiOHienTai() {
		return this.noiOHienTai;
	}

	public String getNoiSinh() {
		return this.noiSinh;
	}

	public void setChuyenMon(String chuyenMon) {
		this.chuyenMon = chuyenMon;
	}

	public void setDTDD(String dTDD) {
		this.dTDD = dTDD;
	}

	public void setDTNha(String dTNha) {
		this.dTNha = dTNha;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public void setGioiTinh(boolean gioiTinh) {
		this.gioiTinh = gioiTinh;
	}

	public void setHoTen(String hoTen) {
		this.hoTen = hoTen;
	}

	public void setLoaiNguoiDung(String loaiNguoiDung) {
		this.loaiNguoiDung = loaiNguoiDung;
	}

	public void setLuong(long luong) {
		this.luong = luong;
	}

	public void setMaNguoiDung(String maNguoiDung) {
		this.maNguoiDung = maNguoiDung;
	}

	public void setMatKhau(String matKhau) {
		this.matKhau = matKhau;
	}

	public void setNgaySinh(Date ngaySinh) {
		this.ngaySinh = ngaySinh;
	}

	public void setNgayVaoLam(Date ngayVaoLam) {
		this.ngayVaoLam = ngayVaoLam;
	}

	public void setNoiOHienTai(String noiOHienTai) {
		this.noiOHienTai = noiOHienTai;
	}

	public void setNoiSinh(String noiSinh) {
		this.noiSinh = noiSinh;
	}

}
